//
//  ZHBaseModel.m
//  DelightTrip
//
//  Created by dllo on 16/5/11.
//  Copyright © 2016年 Northeast Dianli University. All rights reserved.
//

#import "ZHBaseModel.h"

@implementation ZHBaseModel
- (instancetype)initWithDic:(NSDictionary *)dic {
    
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}
/**
 *  容错方法
 *
 *  @param value 值
 *  @param key   键
 */
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {

}
/**
 *  键为nil的情况
 *
 *  @param key 键
 */
- (void)setNilValueForKey:(NSString *)key {
    
}
@end
